package com.dyg.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.dyg.model.Role;

public interface RoleMapper {

	public void insertRole(Role role);

	public void deleteRoleById(String roleId);

	public void updateRole(Role role);

	public Role findRoleById(String roleId);

	public List<Role> findRoleList();

	public List<String> listRoleSnByUser(@Param("userId")int userId);

}
